import { createRouter, createWebHistory } from 'vue-router';
import Home from '@/views/Home.vue';
import DataManager from '@/views/DataManager.vue';
import VectorTile from '@/views/VectorTile.vue';
const routes = [
    { path: '/', name: 'Home', component: Home },
    { path: '/dataManager', name: 'DataManager', component: DataManager },
    { path: '/vectorTile', name: 'VectorTile', component: VectorTile },
];
const base = import.meta.env.DEV ? '/' : '/server-api/gis/';
const router = createRouter({
    history: createWebHistory(base),
    routes,
});
export default router;
